﻿<%@ Page Language="C#" MasterPageFile="MasterPageV2.master" AutoEventWireup="true"
    CodeFile="Videoer.aspx.cs" Inherits="Videoer" Title="Reviewer.dk - Video" Async="true" %>

<%@ Register Src="V2Controls/Top10SpilViews.ascx" TagName="Top10SpilViews" TagPrefix="uc1" %>
<%@ Register Src="V2Controls/Top10ameldelser.ascx" TagName="Top10ameldelser" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="100%">
        <tr>
            <td width="600px" valign="top">
                <table cellpadding="0" cellspacing="0" border="0" style="width: 597px;">
                    <tr>
                        <td>
                            <h1>Spil videoer</h1>
                        </td>
                    </tr>
                    <tr>
                        <td class="TD_red_Bar" style="border: 1px solid black;">
                            &nbsp;Seneste videoer
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" style="padding: 5px; padding-top: 4px;">
                            <center>
                                <table cellpadding="2" cellspacing="4">
                                    <asp:Repeater runat="server" ID="uiRepNewestItems" OnItemDataBound="uiRepNewestItems_ItemDataBound">
                                        <HeaderTemplate>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <asp:Literal runat="server" Text="<tr>" />
                                            <td onclick='javascript:window.location="<%# global::UrlUtillity.GetGameVideoUri(Container.DataItem as Reviewer.Entities.GameVideo) %>";' style="border: 1px solid black;
                                                background-color: #CCCCCC; cursor: pointer;">
                                                <asp:Image runat="server" ID="uiNewestVideoImage" Width="260" Height="180" CssClass="videoPreviewImage"
                                                    AlternateText="Klik for at åbne videoen" />
                                                <b>
                                                    <asp:Literal runat="server" ID="uiLitNewestVideoImageTitle" /></b><br />
                                                <asp:Literal runat="server" ID="uiLitNewestVideoType" />
                                            </td>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <td onclick='javascript:window.location="<%# global::UrlUtillity.GetGameVideoUri(Container.DataItem as Reviewer.Entities.GameVideo) %>";' style="border: 1px solid black;
                                                background-color: #CCCCCC; cursor: pointer;">
                                                <asp:Image runat="server" ID="uiNewestVideoImage" Width="260" Height="180" CssClass="videoPreviewImage"
                                                    AlternateText="Klik for at åbne videoen" />
                                                <b>
                                                    <asp:Literal runat="server" ID="uiLitNewestVideoImageTitle" /></b><br />
                                                <asp:Literal runat="server" ID="uiLitNewestVideoType" />
                                            </td>
                                            <asp:Literal runat="server" Text="</tr>" />
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </center>
                        </td>
                    </tr>
                    <tr>
                        <td class="TD_red_Bar" style="border: 1px solid black;">
                            &nbsp;Flere videoer
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table width="100%" style="border-top: 1px solid #666666;">
                                <asp:Repeater runat="server" ID="uiRepOtherVideos" OnItemDataBound="uiRepOtherVideos_ItemDataBound">
                                    <ItemTemplate>
                                        <tr>
                                            <td class="TDrowTwo">
                                                <asp:HyperLink runat="server" ID="uiHlItem" />
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:HyperLink runat="server" ID="uiHlItem" />
                                            </td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                </asp:Repeater>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td valign="top">
                <uc1:Top10SpilViews ID="Top10SpilViews1" runat="server" />
                <uc2:Top10ameldelser ID="Top10ameldelser1" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
